From cbba733b47424cfe44f7a358317db14a406d2374 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Thu, 29 Oct 2009 03:58:00 +0100 Subject: [PATCH] Fix warning: cast to gchar* --- gtk/gtkcolorsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index a23ff5e28a..63f6fdeb63 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -1068,7 +1068,7 @@ set_focus_line_attributes (GtkWidget *drawing_area, if (dash_list[0]) { - gint n_dashes = strlen (dash_list); + gint n_dashes = strlen ((gchar *)dash_list); gdouble *dashes = g_new (gdouble, n_dashes); gdouble total_length = 0; gdouble dash_offset; -- 2.30.2